﻿using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Util.ObjectMapping.AutoMapper.Tests.Samples; 

/// <summary>
/// 测试样例2
/// </summary>
[DisplayName( "测试样例2" )]
public class Sample2 {
    /// <summary>
    /// 描述
    /// </summary>
    [Description("描述")]
    public string Description { get; set; }
    /// <summary>
    /// 显示名
    /// </summary>
    [DisplayName( "显示名" )]
    public string DisplayName { get; set; }
    /// <summary>
    /// 显示描述
    /// </summary>
    [Display( Description= "显示描述" )]
    public string Display { get; set; }
    /// <summary>
    /// string值
    /// </summary>
    public string StringValue { get; set; }
    /// <summary>
    /// int值
    /// </summary>
    public int IntValue { get; set; }
    /// <summary>
    /// bool值
    /// </summary>
    public bool BoolValue { get; set; }
    /// <summary>
    /// 可空bool值
    /// </summary>
    public bool? NullableBoolValue { get; set; }
    /// <summary>
    /// 导航属性
    /// </summary>
    public Sample3 Test3 { get; set; }
    /// <summary>
    /// 导航属性
    /// </summary>
    public List<Sample3> TestList { get; set; }
}